//用到scanf()和printf()函数
#include <stdio.h>

int main(void)
{   
    char last_name[20], first_name[20];


    printf("Enter your last name: ");
    scanf("%s", last_name);
    printf("Now enter your first name: ");
    scanf("%s", first_name);

    printf("Your name is %s %s", last_name, first_name);

    return 0;
}